//
//  AllNextDetailView.h
//  DongChiDaChiProject1
//
//  Created by lanou3g on 15/10/31.
//  Copyright © 2015年 com.lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AllNextModel.h"

@interface AllNextDetailView : UIView

// 初始化方法
- (instancetype)initAllNextDetailByFetchArray:(NSArray *)fetchArray AndModel:(AllNextModel *)model;

// 背景scrollView
@property (nonatomic, strong) UIScrollView *backGroundScrollView;
// 总的图片
@property (nonatomic, strong) UIImageView *pictureImageView;
// 心型
@property (nonatomic, strong) UIButton *xinXingButton;
// 999+
@property (nonatomic, strong) UILabel *shuZiLabel;
// 标题
@property (nonatomic, strong) UILabel *titleLabel;
// 小图片
@property (nonatomic, strong) UIImageView *smallPictureImageView;
// 营养介绍
@property (nonatomic, strong) UILabel *yingYangTitleLabel;
// 营养
@property (nonatomic, strong) UILabel *yingYangLabel;
// 食材标题
@property (nonatomic, strong) UILabel *shiCaiTitleLabel;
// 食材
@property (nonatomic, strong) UITableView *shiCaiTableView;
// 一条横线
@property (nonatomic, strong) UILabel *lineLabel;
// 步骤
@property (nonatomic, strong) UILabel *buZhouLabel;


// 自适应高度通过营养和食材cell的数量
- (void)adjustHeightByYingYang:(NSString *)yingYangString AndCountOfCell:(NSInteger)countCell AndFetchArray:(NSInteger) countFetchArray;


@end
